/*
* handle system notice user to join channel
* system: WEB API
* handler: RTM API
*/

export default class channelJoinedHandler {
  static async handle(ctx, data) {
    ctx.socket.redis_sub.subscribe(`channel:${data.id}`);
  }
}
